/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao;

import javax.persistence.EntityManager;
import org.springframework.dao.DataAccessException;

/**
 *
 * @author vntraal
 */
public interface EntityDao {

    public EntityManager em = null;
    public Object save(Object entity) throws DataAccessException;
    public void delete(Object entity) throws DataAccessException;
    public Object load(Integer key) throws DataAccessException;


}
